package user

type UserParam struct {
	ID          *string   `json:"id" dc:"用户ID"`
	UserName    *string   `json:"userName" dc:"用户名称" v:"required#请输入用户名"`
	RealName    *string   `json:"realName" dc:"真实名称" v:"required#请输入用户姓名"`
	NickName    *string   `json:"nickName" dc:"昵称"`
	Avatar      *string   `json:"avatar" dc:"头像"`
	Password    *string   `json:"password" dc:"密码" v:"required-without:ID#请输入密码"`
	MobilePhone *string   `json:"mobilePhone" dc:"手机号" v:"required#请输入手机号码"`
	Tel         *string   `json:"tel" dc:"电话"`
	Email       *string   `json:"email" dc:"邮箱"`
	AdminType   *int      `json:"adminType" dc:"管理员类型"`
	Sex         *int      `json:"sex" dc:"性别"`
	IsLocked    *int      `json:"isLocked" dc:"是否锁定"`
	DeptId      *string   `json:"deptId" dc:"部门ID"`
	PostId      *string   `json:"postId" dc:"岗位ID"`
	Remark      *string   `json:"remark" dc:"备注"`
	RoleIdList  []*string `json:"roleIdList" dc:"角色ID集合"`
}
